package cn.tedu._05weibo.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class CommentVO {
    //评论ID 内容 时间 用户昵称
    @ApiModelProperty(value = "评论的编号")
    private Long id;
    @ApiModelProperty(value = "评论的内容")
    private String content;
    @ApiModelProperty(value = "评论的日期")
    @JsonFormat(pattern ="yyyy-MM-dd  HH-mm-ss" ,timezone = "Asia/Shanghai")
    private Date created;
    @ApiModelProperty(value = "用户的昵称")
    private String nickname;
}
